.PHONY:ALL
ALL:Server Client

Flag=-DMY=1

Server:Server.cpp
	g++ -o $@ $^ -g -ljsoncpp $(Flag)
Client:Client.cpp
	g++ -o $@ $^ -g -ljsoncpp $(Flag)

.PHONY:clean
clean:
	rm -f Server Client